<%= error_messages_for 'job' %>
<!--[form:job]-->
	<fieldset>
		<legend>Job Details</legend>
		<dl>
		<% if get_user.is_volcom %>
			<dt><label for="job_is_open"><%= 'Open For Volunteers'.t %></label></dt>
				<dd><%= check_box 'job', 'is_open'  %></dd>
		<% end %>	
		<dt><label for="job_title"><%= 'Title'.t %></label></dt>
			<dd><%= text_field 'job', 'title'  %></dd>
		<% unless is_translation -%>	
		<dt><label for="job_committee"><%= 'Committee'.t %></label></dt>
			<dd><%= text_field 'job', 'committee'  %></dd>
		<dt><label for="job_reports_to"><%= 'Reports to'.t %></label></dt>
			<dd><%= text_field 'job', 'reports_to'  %></dd>
		<% end -%>
		<dt><label for="job_description"><%= 'Description'.t %></label></dt>
			<dd><%= text_area 'job', 'description', :rows => '8', :wrap => 'virtual' %></dd>
			
		<dt><label for="skills_description"><%= 'Skills Description'.t %></label></dt>
			<dd><%= text_area 'job', 'skills_description', :rows => '8', :wrap => 'virtual' %></dd>

		<dt><label for="job_skills"><%= 'Required Skills'.t %></label></dt>
			<dd>
				<%= render :partial => '/skill/edit', :locals => { :skilled => @job } -%>
			</dd>
		<dt><label for="job_job_start_deadline_li"><%= 'Job start deadline'.t %></label></dt>
			<dd><%= date_select 'job', 'job_start_deadline'  %></dd>
		<dt><label for="job_commitment_description"><%= 'Commitment description'.t %></label></dt>
			<dd><%= text_area 'job', 'commitment_description', :rows => '8', :wrap => 'virtual' %></dd>
		<dt><label for="job_weekly_hours"><%= 'Weekly hours'.t %></label></dt>
			<dd><%= text_field 'job', 'weekly_hours'  %></dd>
		<dt><label for="job_weeks"><%= 'Weeks'.t %></label></dt>
			<dd><%= text_field 'job', 'weeks'  %></dd>
		<dt><label for="job_other_requirements"><%= 'Other requirements'.t %></label></dt>
			<dd><%= text_field 'job', 'other_requirements'  %></dd>
		<dt><label for="job_private_notes"><%= 'Private notes'.t %></label></dt>
			<dd><%= text_area 'job', 'private_notes', :rows => '8', :wrap => 'virtual' %></dd>
<!--[eoform:job]-->